import Vue from 'vue'
import Vuex from 'vuex'
import a from './person'
import b from './saying'

Vue.use(Vuex)

const actions = {}

const mutations = {}

const state = {
	msg:'欢迎来到尚硅谷'
}

const getters = {}

export default new Vuex.Store({
	actions,
	mutations,
	state,
	getters,
	modules:{
		ren:a,
		yulu:b
	}
})